<!--包含头部文件-->
{include file="public/header" /}
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 商户管理员管理 <span class="c-gray en">&gt;</span> <a href="{:url('bisaccount/delist')}">删除列表</a>{:refresh()}</nav>
<div class="page-container">
	<div>
		<table class="table table-border table-bordered table-bg table-hover table-sort">
			<thead>
			<tr class="text-c">
				<th width="80">ID</th>
				<th width="100">用户名</th>
				<th width="50">最后登录时间</th>
				<th width="60">商店id</th>
				<th width="60">商店名称</th>
				<th width="60">是否为总管理员</th>
				<th width="40">状态</th>
				<th width="60">操作</th>
			</tr>
			</thead>
			<tbody>
			{volist name="bisaccount" id="vo"}
			<tr class="text-c">
				<td>{$vo.id}</td>
				<td>{$vo.username}</td>
				<td>{$vo.last_login_time|date='Y-m-d H:i:s',###}</td>
				<td>{$vo.bis_id}</td>
				<td>{:getMainBisByBisId($vo.bis_id)['name']}</td>
				<td>{if condition="$vo.is_main==1"}是{else}否{/if}</td>
				<td class="td-status">{$vo.status|status}</td>
				<td class="td-manage">

					<a style="text-decoration:none" class="ml-5" onClick="" href="{:url('bisaccount/edit',['id'=>$vo.id])}" title="查看"><i class="Hui-iconfont">&#xe6df;</i></a>

					<a style="text-decoration:none" class="ml-5" onClick="o2o_del('{:url('base/status',['id'=>$vo.id,'status'=>1,'model'=>'BisAccount'])}')" href="javascript:;" title="恢复">恢复</a>


				</td>
			</tr>
			{/volist}
			</tbody>
		</table>
	</div>
</div>
{:pagination($bisaccount)}
<!--包含头部文件-->
{include file="public/footer" /}
